00cea45e8aa51ad00ce0d65b58a68b6c55ce1200,src/example/org/deidentifier/arx/examples/Example49.java,Example49,solve,#Data#ARXCostBenefitConfiguration#,127
Before Change
System.out.println(" - Solution: " + Arrays.toString(node.getTransformation()));
System.out.println(" * Optimal: " + result.getLattice().isComplete());
System.out.println(" * Time needed: " + result.getTime() + "[ms]");
System.out.println(" * Minimal reduction in publisher benefit: " + result.getConfiguration().getQualityModel().createInstanceOfLowestScore());
System.out.println(" * Maximal reduction in publisher benefit: " + result.getConfiguration().getQualityModel().createInstanceOfHighestScore());
System.out.println(" * Reduction in publisher benefit: " + node.getLowestScore() + " (" +
node.getLowestScore().relativeTo(result.getConfiguration().getQualityModel().createInstanceOfLowestScore(),
result.getConfiguration().getQualityModel().createInstanceOfHighestScore()) * 100 + "%)");
System.out.println(" * Suppressed records: " + handle.getStatistics().getEquivalenceClassStatistics().getNumberOfOutlyingTuples());
}
After Change
System.out.println(" - Solution: " + Arrays.toString(node.getTransformation()));
System.out.println(" * Optimal: " + result.getLattice().isComplete());
System.out.println(" * Time needed: " + result.getTime() + "[ms]");
for (QualityMetadata<?> metadata : node.getLowestScore().getMetadata()) {
System.out.println(" * " + metadata.getParameter() + ": " + metadata.getValue());
}
System.out.println(" * Suppressed records: " + handle.getStatistics().getEquivalenceClassStatistics().getNumberOfOutlyingTuples());